package cc.rengu.redp.bizimpl.upmp.service;

import cc.rengu.igas.bomp.facade.BompMchntQueryService;
import cc.rengu.igas.bomp.facade.request.MchntImageInfoManageRequest;
import cc.rengu.igas.bomp.facade.request.MchntImageInfoQueryRequest;
import cc.rengu.igas.bomp.facade.response.MchntImageInfoQueryResponse;
import cc.rengu.redp.bizimpl.bean.LabelValueBean;
import cc.rengu.redp.bizimpl.enums.BompQueryTypeEnum;
import cc.rengu.redp.bizimpl.igas.bean.CompareDataBean;
import cc.rengu.redp.bizimpl.upmp.domain.UpmpBMchntImageInfo;
import cc.rengu.redp.bizimpl.upmp.vo.ImageInfoVO;
import cc.rengu.redp.bizimpl.upmp.vo.MchntImageManageVO;
import cc.rengu.redp.common.domain.QueryRequest;
import cc.rengu.redp.common.exception.RedpException;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 刘玉亮.LL
 * @since 2021-06-22
 */
public interface IUpmpBMchntImageInfoService extends IService<UpmpBMchntImageInfo> {

    IPage<UpmpBMchntImageInfo> findByPage(QueryRequest request, UpmpBMchntImageInfo info);

    MchntImageInfoQueryResponse mchntImageInfoQuery(String instId, MchntImageInfoQueryRequest req, BompMchntQueryService bompQueryService, String traceNo, BompQueryTypeEnum queryType)throws RedpException;

    void getMchntImageVo(MchntImageInfoQueryResponse entity, MchntImageManageVO vo);

    void getMchntImageManage(MchntImageInfoManageRequest req, MchntImageManageVO vo);

    CompareDataBean getCompareFileById(List<ImageInfoVO> tmps, List<ImageInfoVO> formals) throws RedpException;

    void compareImgList(MchntImageManageVO tmps, MchntImageManageVO formals, List<LabelValueBean> compareBeans) throws RedpException;

    List<ImageInfoVO> getmchntImageList(MchntImageInfoQueryResponse resp);

    void updAlipayImageId(String instId, String mchntNo, String imageType, Integer imageIndex, String alipayImageId);
}
